package com.example.demozy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 条件单回测报告类，供前端使用
 * @author 张展鹏
 */
public class BackTestReportVO {
    // **************** 公开变量

    // **************** 私有变量

    private String backTestReportId;
    private String conditionSheetName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date backTestTime;
    private String stockName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date startTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endTime;
    private double backTestYield;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updateTime;

    // **************** 继承方法

    // **************** 公开方法

    public String getBackTestReportId() {
        return backTestReportId;
    }

    public void setBackTestReportId(String backTestReportId) {
        this.backTestReportId = backTestReportId;
    }

    public String getConditionSheetName() {
        return conditionSheetName;
    }

    public void setConditionSheetName(String conditionSheetName) {
        this.conditionSheetName = conditionSheetName;
    }

    public Date getBackTestTime() {
        return backTestTime;
    }

    public void setBackTestTime(Date backTestTime) {
        this.backTestTime = backTestTime;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public double getBackTestYield() {
        return backTestYield;
    }

    public void setBackTestYield(double backTestYield) {
        this.backTestYield = backTestYield;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    // **************** 私有方法
}
